package cz.apnetis.fitweb.shared;

/** Calorie entity which hold values of food
 * @author Lukas "benzin" Benda <a href="mailto:bendal@apnet.cz">bendal@apnet.cz</a>
 * @since Sep 27, 2010
 */
public interface Calorie {

  /** Food encode key */
  String getKey();
  void setKey(String newKey);

  /** Food name */
  String getName();
  void setName(String newName);

  /**  calories (not kilo calories only calories) */
  Integer getCal();
  void setCal(Integer newCal);

  /** Joules (not kilo joules, only joules) */
  Integer getJoule();
  void setJoule(Integer newJoule);
}
